﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity;

namespace Skynet.BusinessLogic.BusinessComponents
{
    public interface IBCSchool {
        void AddStudent(BusinessEntities.Student item);
    }
    public class BCShool : IBCSchool
    {   
        [Dependency]
        public DataAccess.IStudentRepository StudentRepository { get; set; }

        public void AddStudent(BusinessEntities.Student item)
        {
            this.StudentRepository.Add(item);            
        }
    }
}
